package com.calligraphy.user.model;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author hy
 * @Date 2018/12/27 11:43
 **/
@Entity
@Data
@Table(name = "Attachment")
@ToString
public class Attachment {

    /** 图片id. */
    @Id
    private String id;

    /** 图片名称. */
    private String pictureName;
    /** 图片路径. */
    private String picturePath;
    /** 略缩图. */
    private String pictureSmallPath;
    /** 图片类型. */
    private String pictureType;
    /** 上传时间. */
    private Date pictureCreateDate;
    /** 文件大小. */
    private String pictureSize;
    /** 尺寸. */
    private String pictureWh;
}
